package com.example.presentshopping.ui.activity

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.example.presentshopping.R
import com.example.presentshopping.config.base.BaseMvpActivity
import com.example.presentshopping.mvp.presenter.PublicPresenter
import com.example.presentshopping.net.http.HttpURL

//团队收益
class TeamEarningsActivity : BaseMvpActivity() {

    private var queryInfoPresenter: PublicPresenter? = null
    override val layoutId: Int
        get() = R.layout.activity_team_earnings

    override fun initView(savedInstanceState: Bundle?) {
        queryInfoPresenter = PublicPresenter(this, true, "加载中....")
        queryInfoPresenter?.attachView(this)

    }


    override fun onDestroy() {
        queryInfoPresenter?.detachView()
        super.onDestroy()
    }
    override fun showToast(msg: String?) {

    }

    override fun onSuccess(data: String?) {

    }

    override fun onFailure(e: Throwable?, code: Int, msg: String?, isNetWorkError: Boolean) {

    }
}